package org.putrpctorest.parameter;

import java.lang.reflect.Method;
import java.util.List;
import java.util.Map;

import org.putrpctorest.resource.Parameter;

public interface Mapping {

	public void config(List<Parameter> restParameterDefinitions,
			Method javaServiceMethod,
			JavaParameterNameDiscover javaParameterNameDiscover,
			Map<String, String> nameCorrespondence);

	Object[] getJavaParameters(Map<String, Object> restParameters);

	Map<String, Object> getRestParameters(Object[] javaParameters);
}
